package spe.jbpm.gd.jpdl.model;

import org.jbpm.gd.common.model.AbstractNamedElement;

public class DocumentStateVariable extends AbstractNamedElement {
	
	private String stateId;
	private String stateName;
	private String stateNote;
	
	public void setStateId(String newStateId) {
		String oldStateId = stateId;
		stateId = newStateId;
		firePropertyChange("stateId", oldStateId, newStateId);
	}
	
	public String getStateId() {
		return stateId;
	}
	
	public void setStateName(String newStateName) {
		String oldStateName = stateName;
		stateName = newStateName;
		firePropertyChange("stateName", oldStateName, newStateName);
	}
	
	public String getStateName() {
		return stateName;
	}
	
	public void setStateNote(String newStateNote) {
		String oldStateNote = stateNote;
		stateNote = newStateNote;
		firePropertyChange("stateNote", oldStateNote, newStateNote);
	}
	
	public String getStateNote() {
		return stateNote;
	}
}
